package com.ruoyi.classroom.teacher.domain;


import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 教师管理对象 teacher
 * 
 * @author lgm
 * @date 2024-07-16
 */
public class teacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工号 */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 密码 */
    private String password;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 职称 */
    @Excel(name = "职称")
    private String protitle;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Long isDelete;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setProtitle(String protitle) 
    {
        this.protitle = protitle;
    }

    public String getProtitle() 
    {
        return protitle;
    }
    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("password", getPassword())
            .append("gender", getGender())
            .append("protitle", getProtitle())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
